package com.study.studyroom.entity.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("room_type")
public class RoomType extends AbstractDomain{
    @TableField("type_name")
    private String typeName;
    @TableField("start_price")
    private BigDecimal startPrice;
    @TableField("unit_price")
    private BigDecimal unitPrice;
    @TableField("max_price")
    private BigDecimal maxPrice;
    @TableField("unit_type")
    private Integer unitType;
    @TableField("is_default")
    private Boolean isDefault;
    @TableField("type_desc")
    private String typeDesc;

    public RoomType() {
    }

}
